package com.ljs.clickhousedemo.controller;


import com.ljs.clickhousedemo.response.ReferrenceResponse;
import com.ljs.clickhousedemo.service.MemberOrderService;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;
import java.util.List;

/**
 * <p>
 * t_member_info 前端控制器
 * </p>
 *
 * @author ljs
 * @since 2021-10-26
 */
@RestController
public class TMemberInfoController {
    @Resource
    MemberOrderService memberOrderService;
    @GetMapping("/findMemberOrder")
     public List<ReferrenceResponse> find(){
         return  memberOrderService.findMemberOrder();
     }

}
